package kr.hkit.powerjava.chapter11.work;

public class BookTest {
	public static void main(String[] args) {
		Book b1 = new Book("PowerJAVA", 750, "천인국");
		Magazine m1 = new Magazine();
		m1.setiDate("2014-09-22");
		m1.setSubject("Hello JAVA");
		m1.setWriter("최석열");
		m1.setPageCounter(30);
		System.out.println(b1);
		System.out.println(m1);
	}
}
